package cn.iocoder.yudao.module.system.controller.admin.lottery.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Schema(description = "管理后台 - 抽奖配置保存 Request VO")
@Data
public class LotteryConfigSaveReqVO {

    @Schema(description = "配置键", requiredMode = Schema.RequiredMode.REQUIRED, example = "daily_lottery_limit")
    @NotBlank(message = "配置键不能为空")
    private String configKey;

    @Schema(description = "配置值", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotBlank(message = "配置值不能为空")
    private String configValue;

    @Schema(description = "配置名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "每日抽奖次数限制")
    @NotBlank(message = "配置名称不能为空")
    private String configName;

    @Schema(description = "配置描述", example = "用户每天可以抽奖的次数")
    private String configDesc;
}
